﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Citi.RoutineBase;

namespace Citi.FinancePlanningAnalysis.ConsoleUi
{
    public class CurrentAction : ICurrentAction
    {
        public string Description
        {
            set { Console.WriteLine(value); }
        }

        public void StartLog(string message)
        {

        }

        public void StartLogOnFile(string filePath)
        {

        }

        public void StopLog()
        {

        }

        public void StopLogOnFile()
        {

        }
    }
    
    class Program
    {
        static void Main(string[] args)
        {
            var parameters = new Dictionary<string, object> { 
                { "RobotUsername", @"lac\lac_bra_ftools" }, { "RobotPassword", "Ferrari3k10" },{ "SoeidResponsible", "Nd61955" },
                {"ReportName", "APS Report ICG Tech e GFTS"},
                {"Url","    "},
                {"UserLogin","LD41319"},
                {"PathToSave",@"c:\temp\testaps.xls"},
                {"JoinSheets","false"},
                {"NewSheetName",""},
                {"Browser",""},
                {"Parameters","{[Financial Accounting Year:][2014]}{[Financial Accounting Month (MM):][9]}"},
                {"BOUrl",""},
                {"NewWindowNoAction","true"}
            };

            ICurrentAction action = new CurrentAction();
            new SchedulerUi.CrcImport().Start(DateTime.Today.AddDays(-0), ref action, parameters);
        }
    }
}
